<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            margin: 50px auto;
            width: 300px;
            height: 300px;
            /* background: #fff; */
            /* background-image: linear-gradient(90deg,rgba(200,0,0,.5) 50%,transparent 0),
            linear-gradient(rgba(200,0,0,.5) 50%,transparent 0);
            background-size: 30px 30px; */
            background: maroon;
            background-image:linear-gradient(white 1px,transparent 0), linear-gradient(90deg,white 1px,transparent 0)
            ;
            background-size: 30px 30px;
        }
    </style>
</head>
<body>
    <div class="box">

    </div>
</body>
</html>